package com.erp.erp_mask.mapper;

import com.erp.erp_mask.pojo.TBom;
import com.erp.erp_mask.pojo.TCategory;
import com.erp.erp_mask.pojo.TProducts;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
* @author yang
* @description 针对表【t_products】的数据库操作Mapper
* @createDate 2024-05-24 17:33:10
* @Entity com.erp.erp_mask.pojo.TProducts
*/
public interface TProductsMapper extends BaseMapper<TProducts> {
    //添加商品
    void addProlist(TProducts tProducts);
    List<TProducts> searchPro();
    int batchDeleteByIds(@Param("ids") List<Long> ids);
    //修改
    void editlist(TProducts tProducts);
    List<TProducts> ordersearch(List<Integer> ids);
}




